public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList1 =  new MySingleList();
        MySingleList mySingleList2 =  new MySingleList();
        mySingleList1.addFirst(1);
        mySingleList1.addFirst(2);
        mySingleList1.addFirst(3);
        mySingleList1.addFirst(4);
    }
    public static void main1(String[] args) {
        MySingleList mySingleList  = new MySingleList();
        mySingleList.addFirst(7);
        mySingleList.addFirst(7);
        mySingleList.show();
        if(mySingleList.chkPalindrome()) {
            System.out.println("是反转链表");
        }
        //MySingleList.ListNode tmp = mySingleList.partition(6);
        //mySingleList.show(tmp);
    }
}
